package com.CMS.client.ui.data;

import com.CMS.client.ui.view.EditMultimediaView;
import com.CMS.client.ui.view.MultimediaView;
import com.CMS.client.ui.view.TemplateView;


public class MultimediaPaneSectionData {
	
	private static NavigationPaneRecord[] records;

	  public static NavigationPaneRecord[] getRecords() {
		if (records == null) {
		  records = getNewRecords();
		}
		return records;
	  }

	  public static NavigationPaneRecord[] getNewRecords() {
		return new NavigationPaneRecord[]{
		  new NavigationPaneRecord("upload", "Crear Galeria", new MultimediaView.Factory(), null),
		  new NavigationPaneRecord("upload", "Editar Galeria", new EditMultimediaView.Factory(), null),
		  new NavigationPaneRecord("templates", "Gestor de templates", new TemplateView.Factory(), null)
		 		};
	  }
}
